package com.test.httptest.api;

import com.idc.resource.model.UserRegisterReqDto;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;
import retrofit2.http.Path;

/**
 * testing
 * Created by Lijing on 2017/7/12.
 */
public interface UserApi {

    @POST("/idc-resource/user/register")
    Call<Object> register(@Body UserRegisterReqDto userInfoReqDto);

    @POST("/idc-resource/login/out/{token}")
    Call<Object> loginOut(@Path("token") String token);
}
